package com.ferry.lock.lock;

/**
 * 读写锁
 * Created by daiyong
 */
public interface IReadWriteLock {
	/**
	 * 读锁
	 * @return
	 */
	ILock readLock();

	/**
	 * 写锁
	 * @return
	 */
	ILock writeLock();
}
